//
//  DetailOverlayLayer.h
//  Asteroids
//
// This class implements a CCLayer that is to be overlayed onto the AsteroidsLayer.
// This layer is used to show certain information like the userName and currentScore.
//
//  Created by charles@kollar.com on 11/10/2010.
//
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//

// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

#import "AsteroidsLayer.h"


//
// Provide a username and current score overlay for the AsteroidLayer

@interface DetailOverlayLayer : CCLayer {
	// We keep the graphical components in this class. The actual data, which is shared
	// for this application, is kept in the class 'ApplicationData' (a singleton) and is
	// accessed by the CLASS METHID +(id)shared
	CCLabel *userNameLabel;
	CCLabel *currentScoreLabel;
	NSMutableArray *livesImageView;
}

@property (nonatomic, retain) CCLabel *userNameLabel;
@property (nonatomic, retain) CCLabel *currentScoreLabel;
@property (nonatomic, retain) NSMutableArray *livesImageView;

- (id)init;
- (void)draw;
- (void)dealloc;

@end
